import request from '@/utils/request'
const api_name ='/api/ucenter/wx'

export default {
    getLoginParam(mobile){
        return request({
            url: `${api_name}/getLoginParam`,
            method: 'get'
        })
    },
    //生成微信支付的二维码
    createNative(orderId){
        return request({
            url: `/api/order/weixin/createNative/${orderId}`,
            method: 'get'
        })
    },
    // 查询支付状态的接口
    queryPayStatus(orderId){
        return request({
            url: `/api/order/weixin/queryPayStatus/${orderId}`,
            menubar: 'get'
        })
    },
    

    
}
